From: kfraser@localhost.localdomain Date: Wed, 14 Feb 2007 12:37:13 +0000 (+0000) Subject: Make libelf not fail on unknown elf notes. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15327^2^2~3^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=56d4085f507c1e75dff9b0e81ad34cf607d216a1;p=xen.git Make libelf not fail on unknown elf notes. Signed-off-by: Gerd Hoffmann --- diff --git a/xen/common/libelf/libelf-dominfo.c b/xen/common/libelf/libelf-dominfo.c index 9d45b8ae21..e3fee4552a 100644 --- a/xen/common/libelf/libelf-dominfo.c +++ b/xen/common/libelf/libelf-dominfo.c @@ -107,9 +107,9 @@ int elf_xen_parse_note(struct elf_binary *elf, if ((type >= sizeof(note_desc) / sizeof(note_desc[0])) || (NULL == note_desc[type].name)) { - elf_err(elf, "%s: unknown xen elf note (0x%x)\n", + elf_msg(elf, "%s: unknown xen elf note (0x%x)\n", __FUNCTION__, type); - return -1; + return 0; } if (note_desc[type].str)